widget: Improve hack to ignore drags from widgets using motion events
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 3 Mar 2015 21:17:58 +0000 (22:17 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 5 Mar 2015 02:20:29 +0000 (21:20 -0500)
commit08494f86a062713ca99f71a0cc29bde9e762592c
tree01923a89e187fd2bd25a7c5f227c56a976236777
parent768e6a45796aec32bbc2119e5742ac2332b1c084
widget: Improve hack to ignore drags from widgets using motion events

Postpone until the last moment whether the target widget still
potentially uses updates from this sequence, or window dragging
actually applies because all gestures on the target went to denied
state.

This fixes window dragging on empty space in a headerbar that is
contained in a paned (as in e.g. gedit).

https://bugzilla.gnome.org/show_bug.cgi?id=745562
gtk/gtkwidget.c
gtk/gtkwidgetprivate.h
gtk/gtkwindow.c